﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Color x:Key="HeaderTopBackgroundColor" A="255" R="56" G="56" B="56"></Color>
    <Color x:Key="HeaderBottomBackgroundColor" A="255" R="56" G="56" B="56"></Color>

    
    
    <Color x:Key="TreeViewBackgroundColor" A="255" R="35" G="35" B="35"></Color>
    <Color x:Key="DataGridBackgroundColor" A="255" R="40" G="40" B="40"></Color>
    <Color x:Key="DataGridAlternatingBackgroundColor" A="255" R="56" G="56" B="56"></Color>
    
    <Style x:Key="TreeViewStyle" TargetType="TreeView">
        <Setter Property="Background">
            <Setter.Value>
                <SolidColorBrush Color="{StaticResource TreeViewBackgroundColor}" />
            </Setter.Value>
        </Setter>
        <Setter Property="BorderBrush" Value="Transparent" />
        <Setter Property="BorderThickness" Value="0" />
    </Style>

    <Style x:Key="DataGridHeaderStyle" TargetType="DataGridColumnHeader">
        <Setter Property="Background">
            <Setter.Value>
                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                    <GradientStop Offset="0">
                        <GradientStop.Color>
                            <Color A="255" R="60" G="60" B="60" />
                        </GradientStop.Color>
                    </GradientStop>
                    <GradientStop Offset="0.5">
                        <GradientStop.Color>
                            <Color A="255" R="43" G="43" B="43" />
                        </GradientStop.Color>
                    </GradientStop>
                    <GradientStop Offset="1">
                        <GradientStop.Color>
                            <Color A="255" R="26" G="26" B="26" />
                        </GradientStop.Color>
                    </GradientStop>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="Height" Value="16" />
        <Setter Property="BorderBrush" Value="Black" />
        <Setter Property="BorderThickness" Value="0, 0, 1, 1" />
        <Setter Property="HorizontalContentAlignment" Value="Center" />
        <Setter Property="VerticalContentAlignment" Value="Center" />
    </Style>
    
    <Style x:Key="DataGridTextHeaderStyle" TargetType="DataGridColumnHeader" BasedOn="{StaticResource DataGridHeaderStyle}">
        <Setter Property="HorizontalContentAlignment" Value="Left" />
        <Setter Property="Padding" Value="2, 0, 2, 0" />
    </Style>
    
    <Style x:Key="TextBlockHeaderStyle" TargetType="TextBlock">
        <Setter Property="FontWeight" Value="ExtraBold" />
        <Setter Property="Foreground" Value="White" />
        <Setter Property="FontFamily" Value="Trebuchet MS" />
        <Setter Property="FontSize" Value="11" />
    </Style>
    
    <Style x:Key="DataGridStyle" TargetType="DataGrid">
        <Setter Property="AlternatingRowBackground">
            <Setter.Value>
                <SolidColorBrush Color="{StaticResource DataGridAlternatingBackgroundColor}" />
            </Setter.Value>
        </Setter>
        <Setter Property="Background">
            <Setter.Value>
                <SolidColorBrush Color="{StaticResource DataGridBackgroundColor}" />
            </Setter.Value>
        </Setter>
        <Setter Property="ColumnHeaderStyle" Value="{StaticResource DataGridHeaderStyle}" />
        <Setter Property="BorderBrush" Value="Transparent" />
        <Setter Property="BorderThickness" Value="0" />
    </Style>
    
</ResourceDictionary>